Package com.cisco.pt.ipc.sim.pdu.impl
Class PapPacketImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.PapPacketImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Byteprotected Byteprotected Stringprotected IPAddressprotected StringFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getCode()getFieldType(String fieldName) getId()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidvoidvoidsetPassword(String password) voidsetRouteIp(IPAddress routeIp) voidsetUsername(String username) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
code
-
id
-
password
-
username
-
routeIp
-
-
Constructor Details
-
PapPacketImpl
public PapPacketImpl()
-
-
Method Details
-
getCode
-
setCode
-
getId
-
setId
-
getPassword
- Specified by:
getPasswordin interfacePapPacket- Returns:
- String Returns a String
-
setPassword
- Specified by:
setPasswordin interfacePapPacket- Parameters:
password- Takes in a parameter of password
-
getUsername
- Specified by:
getUsernamein interfacePapPacket- Returns:
- String Returns a String
-
setUsername
- Specified by:
setUsernamein interfacePapPacket- Parameters:
username- Takes in a parameter of username
-
getRouteIp
- Specified by:
getRouteIpin interfacePapPacket- Returns:
- IPAddress Returns a IPAddress
-
setRouteIp
- Specified by:
setRouteIpin interfacePapPacket- Parameters:
routeIp- Takes in a parameter of routeIp
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-